package com.zhangdi.demo.solr.entity;

import org.apache.solr.client.solrj.beans.Field;
import org.springframework.data.solr.core.mapping.SolrDocument;

/**
 * Created by zhangdi on 2020/07/01 15:49:49.
 */
//@SolrDocument(solrCoreName = "demo2")
public class Company {
    @Field
    private long id;
    @Field
    private long uid;
    @Field
    private String name;
    @Field
    private String description;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
